<?php
class Rulemanager_Model_Accessleveldecision implements Rulemanager_Model_Mainable{
    
    public function main(array $variables = null) {
        if(!isset($_SESSION['username']) || !(isset($_SESSION['access_level'])) || ($_SESSION['access_level'] > 9)){
            session_destroy();
            header("Location: ".SITE_ROOT."login.html");
        }
    }

}
